<template>
  <star-form :ref="ref" v-bind="attrs" :data="data.values"></star-form>
</template>

<script>
const ref = "detailView";
export default {
  name:ref,
  components: {},
  inject: ["anc"],
  data() {
    return {
      ref,
      onlyRead: false,
    };
  },
  props: {
    data: {
      default: () => {
        return {};
      },
    },
    attrs: {
      type: Object,
      default: () => {
        return {
        };
      }
    }
  },
  watch: {},
  computed: {
   
  },
  created() {},
  mounted() {
    this.$nextTick(() => {
      this.$set(this.anc.vms, this.ref, this);
    });
  },
  methods: {
    validate() {
    
    },
    change(type,item) {
      if (type == 'sf_maintainCycle') {
        this.anc.change(type,item)
      }
    },
  },
};
</script>
<style>

</style>
